package com.xcfw.dorm.mapper;

import com.xcfw.dorm.entity.Leave;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LeaveMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Leave record);

    Leave selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Leave record);

    List<Leave> selectActionSql(@Param("buildingDormitory") String buildingDormitory,
                                @Param("studentId") String studentId,
                                @Param("studentName") String studentName,
                                @Param("studentClass") String studentClass,
                                @Param("leaveType") String leaveType,
                                @Param("createTime") String createTime);
}